package com.qzsf.backend.service;

import com.qzsf.backend.common.Result;
import com.qzsf.backend.entity.Event;

/*
 * @Author: Dennis Chen
 * @CreateTime: 2024/11/17 21:52 周日
 * @Email 1429278462@qq.com
 * @Remark 活动服务层
 * @Version 1.0
 */
public interface EventService {

    Result getEventType();

    Result getOrganizer();

    Result getEvents(Integer status, Integer typeId, Integer organizerId,int pageNo,int pageSize);

    Result getEventList();

    Result getEventById(int id);

    Result createEvent(Event event);

    Result updateEvent(Event event);

    Result deleteEvent(int id);

    Result getEventsMobile(Integer typeId);

    Result getUserEvents();

    Result getPastEvents();

    Result getEventUserState(int eventId);

    Result getEventDetailMobile(int eventId);

    Result createEventOrganizer(Event event);

    Result getOrganizerEvent(String query);

    Result getEventOrganizerState(int eventId);

    Result updateOrganizerEvent(Event event);
}
